﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebShare/Main.Master" AutoEventWireup="true"
    CodeBehind="MyInfo.aspx.cs" Inherits="Web.WebMyinfo.MyInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div id="block">
        <h3 id="blocktitle">编辑我的信息</h3>
        <fieldset>
            <legend><h2>基本信息</h2></legend>
            <div class="formdiv">
                <label>当前密码：</label>
                <input type="password" id="OldPassword" name="OldPassword" />
                <label class="validate">必须输入您当前的密码才可继续修改信息</label>
            </div>
            <div class="formdiv">
                <label>新的密码：</label>
                <input type="password" id="NewPassword" name="NewPassword" />
                <label class="validate">如果您要修改密码请填写本项</label>
            </div>
            <div class="formdiv">
                <label>重复输入：</label>
                <input type="password" id="ReNewPassword" name="ReNewPassword" />
                <label class="validate">为了防止您输入错误，请重新输入您的新密码</label>
            </div>
            <div class="formdiv">
                <label>电子邮件：</label>
                <input type="text" id="Email" name="Email" value="<%=ULEInfo.Email %>" />
            </div>
            <div class="formdiv">
                <label>联系电话：</label>
                <input type="text" id="Tel" name="Tel" value="<%=ULEInfo.Tel %>" />
            </div>
            <div class="formdiv">
                <label>所在学校：</label>
                <asp:DropDownList ID="schoolList" runat="server" OnSelectedIndexChanged="schoolList_SelectedIndexChanged">
                </asp:DropDownList>
            </div>
            <div class="formdiv">
                <label>职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</label>
                <select id="Caste" name="Caste">
                    <option value="1" <%=ChkSelected(ULEInfo.Caste,1)%>>教师</option>
                    <option value="2" <%=ChkSelected(ULEInfo.Caste,2)%>>特级教师</option>
                </select>
            </div>
            <div class="formdiv">
                <label>职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;务：</label>
                <select id="Business" name="Business">
                    <option value="1" <%=ChkSelected(ULEInfo.Business,1)%>>教师</option>
                    <option value="2" <%=ChkSelected(ULEInfo.Business,2)%>>年级主任</option>
                    <option value="3" <%=ChkSelected(ULEInfo.Business,3)%>>教务主任</option>
                    <option value="4" <%=ChkSelected(ULEInfo.Business,4)%>>副校长</option>
                    <option value="5" <%=ChkSelected(ULEInfo.Business,5)%>>校长</option>
                </select>
            </div>
            <div class="formdiv">
                <label>个人介绍：</label>
                <textarea id="Intro" name="Intro" rows="8" cols="70"><%=ULEInfo.Intro %></textarea>
            </div>
        </fieldset>

        <fieldset>
            <legend><h2>输出报表设置</h2></legend>
            <div id="blockcontent">
                <asp:CheckBoxList ID="chkSchoolSetList" runat="server" RepeatColumns="6" CellSpacing="10" >
                </asp:CheckBoxList>
            </div>
        </fieldset>

        <div class="submitDiv" >
            <asp:Button ID="SaveBut" runat="server" Text="保存" OnClick="SaveBut_Click" CssClass="submitBtn" />
        </div>
    </div>
</asp:Content>
